<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>班级座位图</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <div class="rainbow-text fade-in-up animation-delay-4">本周班级座位图</div>
        <div class="date-display fade-in-up animation-delay-1"></div>
        <div class="blackboard fade-in-up animation-delay-2">黑板</div>
        <div id="seat-container" class="seat-container fade-in-scale animation-delay-3"></div>
        <div id="sentence-display" class="sentence-display"></div>
    </div>
    <script src="script.js"></script>
    <script>
        // 页面加载完成后触发动画
        window.addEventListener('DOMContentLoaded', function() {
            // 为所有需要动画的元素添加动画类
            const animatedElements = document.querySelectorAll('.fade-in-up, .fade-in-scale, .slide-in-left, .slide-in-right');
            
            // 触发动画
            animatedElements.forEach(element => {
                // 通过添加动画类触发动画
                element.style.animationPlayState = 'running';
            });
        });
    </script>
</body>
</html>